package com.audaque.springboot.foshanupload.web.mbdemo.crud.domain;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@Getter@Setter@ToString@AllArgsConstructor@NoArgsConstructor
//有些策略是：缓存溢出时把缓存序列化到硬盘中，所以要实现序列化接口,所以要去User类中实现序列化接口
public class User implements Serializable{
	private static final long serialVersionUID = 1L;
	private Long id;
	private String username;
	private String password;
	private int age;
}
